#pragma once
//#include "DXAMLCommon.h"
//
#include "CReferenceCountBase.h"
//#include "IThreadMonitor.h"
class CReferenceCount :
	public CReferenceCountBase
{
public:
	CReferenceCount();
	virtual ~CReferenceCount();
	XUINT32 AddRef();
	XUINT32 Release();
	CReferenceCount & operator=( const CReferenceCount  & rhs);
protected:
	void ThreadCheck( XCHAR * pszMessage);
protected:
	struct IThreadMonitor *m_pThreadMonitor;
};

